package com.example.noval.db.entities

import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 * @Description
 * @Author zzl
 * @Date 2024/3/18
 */

@Entity(
    tableName ="book",
)
data class Book(
    @PrimaryKey
    var id:Int=0,
    var bookUrl:String="",
    var bookName: String = "",
    var author: String = "",
    var bookType:String="",
    var coverUrl: String? = null,
    var intro: String? = null,
    var totalChapterNum: Int = 0,
    var durChapterTitle: String? = null,
    var durChapterIndex: Int = 0,
    //字数
    var wordCount: String? = null,


    ) {
}